package com.swallow.user.controller;

import com.swallow.common.result.ResultCodeEnum;
import com.swallow.common.result.RetVal;
import com.swallow.user.entity.Order;
import com.swallow.user.entity.vo.OrderInfoVo;
import com.swallow.user.service.OrderInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @program:cloud_demo
 * @author: 马雨清
 * @Time: 2025/4/22  18:08
 * @description:
 */

@RestController
@RequestMapping("/order")
public class OrderInfoController {
    @Autowired
    private OrderInfoService orderInfoService;

    @PutMapping("/insertOrder")
    public void insertOrder(){
        orderInfoService.insertOrder();
    }
}
